module.exports = {
    title: 'cc松佰前端vue组件库',
    description: 'Just playing around',
    themeConfig: {
        displayAllHeaders: true,
        nav: [
            { text: '主数据库', link: '/mdm/components' },
            { text: '指南', link: '/guide/' },
            { text: '部署', link: 'https://google.com' },
        ],
        sidebar: {
            '/mdm/': [
                'components'
            ],

        }
    },
    configureWebpack: (config) => {
        config.node = {
            global: true,
            process: true
        }
        // config.devServer = {
        //     proxy: {
        //         '/backend': {
        //             target: 'http://test-mdm.ccdental.com.cn',
        //             changeOrigin: true
        //         }
        //     }
        // }
    },
    devServer: {
        proxy: {
            '/backend': {
                target: 'http://test-mdm.ccdental.com.cn',
                changeOrigin: true,
            },
        },
    }
}